// stores/counter.js
import { defineStore } from 'pinia';
export const useLoginStore = defineStore('counter', {
	state: () => {
		return { 
			token: '' 
		};
	},
	actions: {
		loginin(token:string) {
			wx.setStorage({
			  key:'token',
			  data:token
			}),
			this.token = token
		},
	},
	getters:{
		
	}
});